import request from '@/utils/request'

export function getResultSetting() {
  return request({
    url: '/setting/getResultSetting',
    method: 'post'
  })
}

export function editResultSetting(data) {
    return request({
      url: '/setting/editResultSetting',
      method: 'post',
      data
    })
  }
  
export function editReportTemplate(data) {
  return request({
    url: '/setting/editReportTemplate',
    method: 'post',
    data
  })
}
export function getReportTemplate() {
  return request({
    url: '/setting/getReportTemplate',
    method: 'get'
  })
}

export function editSemesterSetting(data) {
  return request({
    url: '/setting/editSemesterSetting',
    method: 'post',
    data
  })
}
export function getSemesterSetting() {
  return request({
    url: '/setting/getSemesterSetting',
    method: 'get'
  })
}